Skip to content

Revert "Add Docker archive support to Linux scanner (#1711)"#1715

Merged
jasonpaulos merged 1 commit intomainfrom
users/jasonpaulos/revert-1711
Mar 13, 2026
Merged

Revert "Add Docker archive support to Linux scanner (#1711)"#1715
jasonpaulos merged 1 commit intomainfrom
users/jasonpaulos/revert-1711

Conversation

@jasonpaulos
Copy link
Member

Temporarily revert #1711

@jasonpaulos jasonpaulos requested a review from a team as a code owner March 13, 2026 18:44
@github-actions
Copy link

github-actions bot commented Mar 13, 2026

👋 Hi! It looks like you modified some files in the Detectors folder.
You may need to bump the detector versions if any of the following scenarios apply:

  • The detector detects more or fewer components than before
  • The detector generates different parent/child graph relationships than before
  • The detector generates different devDependencies values than before

If none of the above scenarios apply, feel free to ignore this comment 🙂

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Temporarily reverts PR #1711 by removing Docker-archive (docker save tarball) scanning support from the Linux container detector, restoring the previous set of supported image reference formats.

Changes:

  • Removes docker-archive: handling from ImageReference parsing and LinuxContainerDetector local-image scanning flow.
  • Deletes the Docker archive-specific unit test.
  • Updates Linux detector documentation to remove Docker archive usage instructions.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
test/Microsoft.ComponentDetection.Detectors.Tests/LinuxContainerDetectorTests.cs Removes the unit test that asserted Docker archive (docker-archive:) scanning behavior.
src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs Removes DockerArchive handling in image resolution and local-image scanning path setup.
src/Microsoft.ComponentDetection.Detectors/linux/ImageReference.cs Removes DockerArchive kind and docker-archive: parsing support.
docs/detectors/linux.md Removes documentation describing docker-archive: usage.

@jasonpaulos jasonpaulos merged commit 69a2057 into main Mar 13, 2026
29 of 30 checks passed
@jasonpaulos jasonpaulos deleted the users/jasonpaulos/revert-1711 branch March 13, 2026 18:56
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.0%. Comparing base (d6c5db9) to head (4771c3f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #1715   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants